Signal encoding for inks with low reflectivity

ABSTRACT

This disclosure relates to advanced image signal processing technology including encoded signals and digital watermarking. The technology may be applied to retail packages and other printed objects, e.g., such as hang tags, labels and receipts.

RELATED APPLICATION DATA

This application is a continuation of U.S. patent application Ser. No. 15/905,631, filed Feb. 26, 2018, (U.S. Pat. No. 10,783,602) which claims the benefit of U.S. Provisional Patent Application No. 62/463,502, filed Feb. 24, 2017. This application is also related to U.S. patent application Ser. No. 15/418,364, filed Jan. 27, 2017, Ser. No. 15/851,143, filed Dec. 21, 2017, Ser. No. 15/261,005, filed Sep. 9, 2016 (published as US 2018-0047126 A1), Ser. No. 15/418,364, filed Jan. 27, 2017 (published as US 2018-0047127 A1), Ser. No. 14/616,686, filed Feb. 7, 2015 (issued as U.S. Pat. No. 9,380,186), Ser. No. 14/725,399, filed May 29, 2015 (published as US 2016-0275639 A1; issued as U.S. Pat. No. 9,635,378), Ser. No. 15/072,884, filed Mar. 17, 2016 (published as US 2017-0024840 A1), Ser. No. 14/588,636, filed Jan. 2, 2015 (published as US 2015-0187039 A1, issued as U.S. Pat. No. 9,401,001), and Ser. No. 15/137,401, filed Apr. 25, 2016 (published as US 2016-0316098 A1; issued as U.S. Pat. No. 9,565,335), and PCT Application No. PCT/US17/46639, filed Aug. 11, 2017. Each of the patent documents mentioned above is hereby incorporated herein by reference in its entirety, including all drawings and any appendices.

TECHNICAL FIELD

This disclosure relates to advanced signal processing technology including image processing and encoded signaling techniques such as embedding and digital watermarking.

BACKGROUND AND SUMMARY

Portions of this disclosure are described in terms of, e.g., encoded signals for digital designs, product packaging (sometimes just referred to herein as “packaging” or “package”) and other objects, e.g., including printed objects such as tags, product and/or clothing hang tags, labels, product literature, etc. These encoding techniques can be used, e.g., to alter or transform how color inks are printed on various physical substrates. The alterations or transformations preferably result in a printed design carrying machine readable indicia on a surface of a physical object.

Various forms of signal encoding (or “embedding”) include, e.g., “steganographic encoding” and “digital watermarking.” Digital watermarking is a process for transforming physical or electronic media to embed a machine-readable code (or “auxiliary data” or “information signal”) into the media. In some cases the media is transformed such that the embedded code is “obscured” or “generally imperceptible” relative to an overt symbology (e.g., 1D or 2D barcode), yet may be detected through an automated detection process. Obscured and generally imperceptible in this context means that the luminance/chrominance variations in the artwork due to the digital watermarking are not noticeable to a human viewer inspecting the package from a usual distance (e.g., 20 inches) under normal retail lighting (e.g., 50-85 foot candles), who has not previously been alerted to the existence of the digital watermarking.

Digital watermarking is often applied to electronic or physical objects such as printed objects, images, audio signals, and video signals. However, it may also be applied to other types of objects, including, e.g., product packaging, electronics such as circuit boards and CPUs, stickers, logos, product hang tags, line-art, software, multi-dimensional graphics models, and surface textures of such objects.

In this document we use the terms “digital watermark” and “watermark” (and various forms thereof) interchangeably.

Auxiliary data embedding systems typically include two components: an encoder (or embedder) that embeds the auxiliary signal in a host image or object, and a decoder (or detector) that detects and reads the embedded auxiliary signal from the host image or object. The encoder may embed the auxiliary signal by altering or transforming a host image or object to carry the auxiliary data. The detection component analyzes a suspect image, object or signal to detect whether an auxiliary signal is present, and if so, extracts or reads information carried in it.

Several particular digital watermarking and auxiliary data embedding techniques have been developed. The reader is presumed to be familiar with the literature in this field. Particular techniques for embedding and detecting imperceptible digital watermarks are detailed in the assignee's patent documents including US Published Patent Application Nos. 20150156369 and 20160217547; U.S. patent application Ser. No. 14/725,399, filed May 29, 2015, and Ser. No. 14/842,575, filed Sep. 1, 2015; International Application No. PCT/US2015/44904, filed Aug. 12, 2015 (published as WO 2016025631 A1) and U.S. Pat. Nos. 7,054,461, 7,286,685, and 9,129,277. Related technology is detailed in Assignee's U.S. patent application Ser. No. 15/073,483, filed Mar. 17, 2016. Each of the patent documents mentioned in this paragraph are hereby incorporated herein by reference in its entirety, including all drawings and any appendices.

Further aspects, features and advantages will become even more apparent with reference to the following detailed description, claims and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.

FIG. 1 is a block diagram of a signal encoder for encoding a digital payload signal into an image signal.

FIG. 2 is a block diagram of a compatible signal decoder for extracting the digital payload signal from an image signal.

FIG. 3 is a flow diagram illustrating operations of a signal generator.

FIG. 4 is a diagram illustrating embedding of an auxiliary signal into host image signal.

FIG. 5 is a flow diagram illustrating a method for decoding a payload signal from a host image signal.

FIG. 6 is a diagram illustrating an example of a sparse signal generator.

FIG. 7 is a diagram illustrating a refinement of a sparse signal generator like the one in FIG. 6.

FIG. 8 is a histogram of a digital watermark signal component.

FIG. 9 is a histogram of another digital watermark signal component.

FIG. 10 is a histogram of a combination of the digital watermark signal components of FIGS. 8 and 9, and also depicts examples of different thresholds used to generate a binary image comprising black and white pixels from an image comprised of multi-valued pixels.

FIG. 11 is a diagram illustrating another refinement of the sparse signal generator of FIG. 6.

FIG. 12 is a diagram illustrating application of a threshold to a watermark signal, and the resulting output for three different thresholds.

FIG. 13 illustrates a portion of a sparse signal.

FIG. 14 illustrates the sparse signal of FIG. 13, modified to reduce the signal using a line screen approach.

FIG. 15A shows a background color patch (left) and the background color patch including holes (right) showing a white substrate. The hole can be arranged according to a signal pattern.

FIG. 15B shows the color patches of FIG. 15A along with a background color patch including filled holes.

FIG. 15C includes a graph of reflectivity per wavelength (nm) for Pantone 432 and 2356.

FIG. 16 includes a graph of reflectivity per wavelength (nm) for Pantone Green and Pantone 576.

FIG. 17A shows an encoded background color patch.

FIG. 17B shows progressively enlarged or zoomed image areas from FIG. 17A.

FIG. 17C shows a hole area including a hole fill color, a trap boundary and background color, with a pixel grid.

FIG. 18A shows the encoded background color patch of FIG. 17A (left) along with an encoded color patch using trapping (right).

FIG. 18B shows the encoded background color patch of FIG. 17A (left) along with an encoded color patch using trapping (right).

FIG. 18C shows the encoded background color patch of FIG. 17A (left) along with the encoded color patch using trapping from FIG. 18A (middle) and the encoded color patch using trapping from FIG. 18B (right).

FIG. 19 illustrates an electronic device in which ink selection, encoding and decoding may be implemented.

DESCRIPTION Introduction

The following detailed description is divided into four (4) general sections. It should be understood from the outset, however, that we expressly contemplate combining subject matter from one such section with one or more of the other sections. Thus, the sections and section headings are provided for the reader's convenience and are not intended to impose restrictions or limitations. The sections include: I. Signal Encoder and Decoder; II. Sparse Marks; III. Signal Encoding for Inks with Low Reflectivity; and IV. Operating Environments.

I. Signal Encoder and Decoder

Encoder/Decoder

FIG. 1 is a block diagram of a signal encoder for encoding a digital payload signal into an image signal. FIG. 2 is a block diagram of a compatible signal decoder for extracting the digital payload signal from an image signal.

While the signal encoder and decoder may be used for communicating a data channel for many applications, one objective for use in physical objects is robust signal communication through images formed on and captured from these objects. Signal encoders and decoders, like those in the Digimarc Barcode Platform from Digimarc Corporation, communicate auxiliary data in a data carrier within image content. Encoding and decoding is applied digitally, yet the signal survives digital to analog transformation and analog to digital transformation. For example, the encoder generates a modulated digital image that is converted to a rendered form, such as a printed image. The modulated digital image includes the encoded signal prior to rendering. Prior to decoding, a receiving device has or communicates with an imager to capture the modulated signal, convert it to an electric signal, which is digitized and then processed by the FIG. 2 signal decoder.

Inputs to the signal encoder include a host image 220 and auxiliary data payload 222. The objectives of the encoder include encoding a robust signal with desired payload capacity per unit of host signal (e.g., a unit may include the spatial area of a two-dimensional tile within the host signal), while maintaining perceptual quality. In some cases, there may be very little variability or presence of a host signal. In this case, there is little host interference on the one hand, yet little host content in which to mask the presence of the data channel within an image. Some examples include a package design that is devoid of much image variability (e.g., a single, uniform color). See, e.g., U.S. Pat. No. 9,635,378, incorporated herein by reference in its entirety.

The auxiliary data payload 222 includes the variable data information to be conveyed in the data channel, possibly along with other protocol data used to facilitate the communication. The protocol of the auxiliary data encoding scheme comprises the format of the auxiliary data payload, error correction coding schemes, payload modulation methods (such as the carrier signal, spreading sequence, encoded payload scrambling or encryption key), signal structure (including mapping of modulated signal to embedding locations within a tile), error detection in payload (CRC, checksum, etc.), perceptual masking method, host signal insertion function (e.g., how auxiliary data signal is embedded in or otherwise combined with host image signal in a package or label design), and/or synchronization method and signals.

The protocol defines the manner in which the signal is structured and encoded for robustness, perceptual quality and/or data capacity. For a particular application, there may be a single protocol, or more than one protocol, depending on application requirements. Examples of multiple protocols include cases where there are different versions of the channel, different channel types (e.g., several digital watermark layers within a host). Different versions may employ different robustness encoding techniques or different data capacity. Protocol selector module 224 determines the protocol to be used by the encoder for generating a data signal. It may be programmed to employ a particular protocol depending on the input variables, such as user control, application specific parameters, or derivation based on analysis of the host signal.

Perceptual analyzer module 226 analyzes the input host signal to determine parameters for controlling signal generation and embedding, as appropriate. It is not necessary in certain applications, while in others it may be used to select a protocol and/or modify signal generation and embedding operations. For example, when encoding in host color images that will be printed or displayed, the perceptual analyzer 256 is used to ascertain color content and masking capability of the host image. The output of this analysis, along with the rendering method (display or printing device) and rendered output form (e.g., ink and substrate) is used to control auxiliary signal encoding in particular color channels (e.g., one or more channels of process inks, Cyan, Magenta, Yellow, or Black (CMYK) or spot colors), perceptual models, and signal protocols to be used with those channels. Please see, e.g., our work on visibility and color models used in perceptual analysis in our U.S. application Ser. No. 14/616,686 (issued as U.S. Pat. No. 9,380,186), Ser. No. 14/588,636 (published as US 2015-0187039 A1; issued as U.S. Pat. No. 9,401,001) and Ser. No. 13/975,919 (issued as U.S. Pat. No. 9,449,357), Patent Application Publication No. US 2010-0150434 A1, and U.S. Pat. No. 7,352,878, which are hereby incorporated by reference in their entirety.

The perceptual analyzer module 226 also computes a perceptual model, as appropriate, to be used in controlling the modulation of a data signal onto a data channel within image content as described below.

The signal generator module 228 operates on the auxiliary data and generates a data signal according to the protocol. It may also employ information derived from the host signal, such as that provided by perceptual analyzer module 226, to generate the signal. For example, the selection of data code signal and pattern, the modulation function, and the amount of signal to apply at a given embedding location may be adapted depending on the perceptual analysis, and in particular on the perceptual model and perceptual mask that it generates. Please see below and the incorporated patent documents for additional aspects of this process.

Embedder module 230 takes the data signal and modulates it into an image by combining it with the host image. The operation of combining may be an entirely digital signal processing operation, such as where the data signal modulates the host signal digitally, may be a mixed digital and analog process or may be purely an analog process (e.g., where rendered output images, with some signals being modulated data and others being host image content, such as the various layers of a package design file).

There are a variety of different functions for combining the data and host in digital operations. One approach is to adjust the host signal value as a function of the corresponding data signal value at an embedding location, which is limited or controlled according to the perceptual model and a robustness model for that embedding location. The adjustment may be altering the host image by adding a scaled data signal or multiplying by a scale factor dictated by the data signal value corresponding to the embedding location, with weights or thresholds set on the amount of the adjustment according to the perceptual model, robustness model, and/or available dynamic range. The adjustment may also be altering by setting the modulated host signal to a particular level (e.g., quantization level) or moving it within a range or bin of allowable values that satisfy a perceptual quality or robustness constraint for the encoded data.

As detailed further below, the signal generator 228 produces a data signal with data elements that are mapped to embedding locations in an image tile. These data elements are modulated onto the host image at the embedding locations. A tile may include a pattern of embedding locations. The tile derives its name from the way in which it is repeated in contiguous blocks of a host signal, but it need not be arranged this way. In image-based encoders, we may use tiles in the form of a two dimensional array (e.g., 128×128, 256×256, 512×512) of embedding locations. The embedding locations correspond to host signal samples at which an encoded signal element is embedded in an embedding domain, such as a spatial domain (e.g., pixels at a spatial resolution), frequency domain (frequency components at a frequency resolution), or some other feature space. We sometimes refer to an embedding location as a bit cell, referring to a unit of data (e.g., an encoded bit or chip element) encoded within a host signal at the location of the cell. Again please see the documents incorporated herein for more information on variations for particular type of media.

The operation of combining may include one or more iterations of adjustments to optimize the modulated host for perceptual quality or robustness constraints. One approach, for example, is to modulate the host image so that it satisfies a perceptual quality metric as determined by perceptual model (e.g., visibility model) for embedding locations across the signal. Another approach is to modulate the host image so that it satisfies a robustness metric across the signal. Yet another is to modulate the host image according to both the robustness metric and perceptual quality metric derived for each embedding location. The incorporated documents provide examples of these techniques. Below, we highlight a few examples. See, e.g., U.S. Pat. No. 9,449,357; and see also, U.S. patent application Ser. No. 14/588,636, filed Jan. 2, 2015 (published as US 2015-0187039 A1), filed Jan. 2, 2015, and Ser. No. 15/137,401, filed Apr. 25, 2016 (published as US 2016-0316098 A1), which are each hereby incorporated by reference in its entirety.

For color images, the perceptual analyzer generates a perceptual model that evaluates visibility of an adjustment to the host by the embedder and sets levels of controls to govern the adjustment (e.g., levels of adjustment per color direction, and per masking region). This may include evaluating the visibility of adjustments of the color at an embedding location (e.g., units of noticeable perceptual difference in color direction in terms of CIE Lab values), Contrast Sensitivity Function (CSF), spatial masking model (e.g., using techniques described by Watson in US Published Patent Application No. US 2006-0165311 A1, which is incorporated by reference herein in its entirety), etc. One way to approach the constraints per embedding location is to combine the data with the host at embedding locations and then analyze the difference between the encoded host with the original. The perceptual model then specifies whether an adjustment is noticeable based on the difference between a visibility threshold function computed for an embedding location and the change due to embedding at that location. The embedder then can change or limit the amount of adjustment per embedding location to satisfy the visibility threshold function. Of course, there are various ways to compute adjustments that satisfy a visibility threshold, with different sequence of operations. See, e.g., our U.S. Pat. Nos. 7,352,878, 9,380,186, 9,401,001 and 9,449,357, and Patent Application Publication No. US 2010-0150434 A1, each incorporated herein by reference in its entirety.

The Embedder also computes a robustness model. The computing of a robustness model may include computing a detection metric for an embedding location or region of locations. The approach is to model how well the decoder will be able to recover the data signal at the location or region. This may include applying one or more decode operations and measurements of the decoded signal to determine how strong or reliable the extracted signal. Reliability and strength may be measured by comparing the extracted signal with the known data signal. Below, we detail several decode operations that are candidates for detection metrics within the embedder. One example is an extraction filter which exploits a differential relationship to recover the data signal in the presence of noise and host signal interference. At this stage of encoding, the host interference is derivable by applying an extraction filter to the modulated host. The extraction filter models data signal extraction from the modulated host and assesses whether the differential relationship needed to extract the data signal reliably is maintained. If not, the modulation of the host is adjusted so that it is.

Detection metrics may be evaluated such as by measuring signal strength as a measure of correlation between the modulated host and variable or fixed data components in regions of the host, or measuring strength as a measure of correlation between output of an extraction filter and variable or fixed data components. Depending on the strength measure at a location or region, the embedder changes the amount and location of host signal alteration to improve the correlation measure. These changes may be particularly tailored so as to establish relationships of the data signal within a particular tile, region in a tile or bit cell pattern of the modulated host. To do so, the embedder adjusts bit cells that violate the relationship so that the relationship needed to encode a bit (or M-ary symbol) value is satisfied and the thresholds for perceptibility are satisfied. Where robustness constraints are dominant, the embedder will exceed the perceptibility threshold where necessary to satisfy a desired robustness threshold.

The robustness model may also model distortion expected to be incurred by the modulated host, apply the distortion to the modulated host, and repeat the above process of measuring detection metrics and adjusting the amount of alterations so that the data signal will withstand the distortion. See, e.g., Ser. Nos. 14/616,686, 14/588,636 and 13/975,919 for image related processing.

This modulated host is then output as an output image signal 232, with a data channel encoded in it. The operation of combining also may occur in the analog realm where the data signal is transformed to a rendered form, such as a layer of ink or coating applied by a commercial press to substrate. Another example is a data signal that is overprinted as a layer of material, engraved in, or etched onto a substrate, where it may be mixed with other signals applied to the substrate by similar or other marking methods. In these cases, the embedder employs a predictive model of distortion and host signal interference, and adjusts the data signal strength so that it will be recovered more reliably. The predictive modeling can be executed by a classifier that classifies types of noise sources or classes of host image and adapts signal strength and configuration of the data pattern to be more reliable to the classes of noise sources and host image signals that the encoded data signal is likely to be encounter or be combined with.

The output 232 from the Embedder signal typically incurs various forms of distortion through its distribution or use. For printed objects, this distortion occurs through rendering an image with the encoded signal in the printing process, and subsequent scanning back to a digital image via a camera or like image sensor.

Turning to FIG. 2, the signal decoder receives an encoded host signal 240 and operates on it with one or more processing stages to detect a data signal, synchronize it, and extract data.

The decoder is paired with an input device in which a sensor captures an analog form of the signal and an analog to digital converter converts it to a digital form for digital signal processing. Though aspects of the decoder may be implemented as analog components, e.g., such as preprocessing filters that seek to isolate or amplify the data channel relative to noise, much of the decoder is implemented as digital signal processing modules that implement the signal processing operations within a scanner. As noted, these modules can be implemented as software instructions executed within an image scanner or camera, an FPGA, or ASIC, etc.

The detector 242 is a signal processing module that detects presence of the data channel. The incoming signal is referred to as a suspect host because it may not have a data channel or may be so distorted as to render the data channel undetectable. The detector is in communication with a protocol selector 244 to get the protocols it uses to detect the data channel. It may be configured to detect multiple protocols, either by detecting a protocol in the suspect signal and/or inferring the protocol based on attributes of the host signal or other sensed context information. A portion of the data signal may have the purpose of indicating the protocol of another portion of the data signal. As such, the detector is shown as providing a protocol indicator signal back to the protocol selector 244.

The synchronizer module 246 synchronizes the incoming signal to enable data extraction. Synchronizing includes, for example, determining the distortion to the host signal and compensating for it. This process provides the location and arrangement of encoded data elements within the host signal.

The data extractor module 248 gets this location and arrangement and the corresponding protocol and demodulates a data signal from the host. The location and arrangement provide the locations of encoded data elements. The extractor obtains estimates of the encoded data elements and performs a series of signal decoding operations.

As detailed in examples below and in the incorporated documents, the detector, synchronizer and data extractor may share common operations, and in some cases may be combined. For example, the detector and synchronizer may be combined, as initial detection of a portion of the data signal used for synchronization indicates presence of a candidate data signal, and determination of the synchronization of that candidate data signal provides synchronization parameters that enable the data extractor to apply extraction filters at the correct orientation, scale and start location of a tile. Similarly, data extraction filters used within data extractor may also be used to detect portions of the data signal within the detector or synchronizer modules. The decoder architecture may be designed with a data flow in which common operations are re-used iteratively, or may be organized in separate stages in pipelined digital logic circuits so that the host data flows efficiently through the pipeline of digital signal operations with minimal need to move partially processed versions of the host data to and from a shared memory unit, such as a RAM memory.

Signal Generator

FIG. 3 is a flow diagram illustrating operations of a signal generator. Each of the blocks in the diagram depict processing modules that transform the input auxiliary data into a digital payload data signal structure. The input auxiliary data may include, e.g., a Global Trade Item Number (GTIN) developed by GS1. For example, the GTIN may be structured in the GTIN-12 format for UPC codes. Of course, the input auxiliary data may represent other plural bit codes as well. For a given protocol, each block provides one or more processing stage options selected according to the protocol. In processing module 300, the auxiliary data payload is processed to compute error detection bits, e.g., such as a Cyclic Redundancy Check (CRC), Parity, check sum or like error detection message symbols. Additional fixed and variable messages used in identifying the protocol and facilitating detection, such as synchronization signals may be added at this stage or subsequent stages.

Error correction encoding module 302 transforms the message symbols of the digital payload signal into an array of encoded message elements (e.g., binary or M-ary elements) using an error correction method. Examples include block codes, BCH, Reed Solomon, convolutional codes, turbo codes, etc.

Repetition encoding module 304 repeats and concatenates the string of symbols from the prior stage to improve robustness. For example, certain message symbols may be repeated at the same or different rates by mapping them to multiple locations within a unit area of the data channel (e.g., one unit area being a tile of bit cells, as described further below).

Repetition encoding may be removed and replaced entirely with error correction coding. For example, rather than applying convolutional encoding (1/3 rate) followed by repetition (repeat three times), these two can be replaced by convolution encoding to produce a coded payload with approximately the same length.

Next, carrier modulation module 306 takes message elements of the previous stage and modulates them onto corresponding carrier signals. For example, a carrier might be an array of pseudorandom signal elements, with equal number of positive and negative elements (e.g., 16, 32, 64 elements), or other waveform. We elaborate further on signal configurations below.

Mapping module 308 maps signal elements of each modulated carrier signal to locations within the channel. In the case where a digital host signal is provided, the locations correspond to embedding locations within the host signal. The embedding locations may be in one or more coordinate system domains in which the host signal is represented within a memory of the signal encoder. The locations may correspond to regions in a spatial domain, temporal domain, frequency domain, or some other transform domain. Stated another way, the locations may correspond to a vector of host signal features, which are modulated to encode a data signal within the features.

Mapping module 308 also maps a synchronization signal to embedding locations within the host signal, for embodiments employing an explicit synchronization signal. An explicit synchronization signal is described further below.

To accurately recover the payload, the decoder extracts estimates of the coded bits at the embedding locations within each tile. This requires the decoder to synchronize the image under analysis to determine the embedding locations. For images, where the embedding locations are arranged in two dimensional blocks within a tile, the synchronizer determines rotation, scale and translation (origin) of each tile. This may also involve approximating the geometric distortion of the tile by an affine transformation that maps the embedded signal back to its original embedding locations.

To facilitate synchronization, the auxiliary signal may include an explicit or implicit synchronization signal. An explicit synchronization signal is an auxiliary signal separate from the encoded payload that is embedded with the encoded payload, e.g., within the same tile). An implicit synchronization signal is a signal formed with the encoded payload, giving it structure that facilitates geometric/temporal synchronization. Examples of explicit and implicit synchronization signals are provided in our previously cited U.S. Pat. Nos. 6,614,914, and 5,862,260, which are each hereby incorporated herein by reference in their entirety.

In particular, one example of an explicit synchronization signal is a signal comprised of a set of sine waves, with pseudo-random phase, which appear as peaks in the Fourier domain of the suspect signal. See, e.g., U.S. Pat. Nos. 6,614,914, and 5,862,260, describing use of a synchronization signal in conjunction with a robust data signal. Also see U.S. Pat. No. 7,986,807, which is hereby incorporated by reference in its entirety.

Our US Patent Application Publication No. US 2012-0078989 A1, which is hereby incorporated by reference in its entirety, provides additional methods for detecting an embedded signal with this type of structure and recovering rotation, scale and translation from these methods.

Examples of implicit synchronization signals, and their use, are provided in U.S. Pat. Nos. 6,614,914 and 5,862,260, as well as U.S. Pat. Nos. 6,625,297 and 7,072,490, and U.S. patent application Ser. No. 14/724,729 (issued as U.S. Pat. No. 9,747,656), which are hereby incorporated by reference in their entirety.

Signal Embedding in Host

FIG. 4 is a diagram illustrating embedding of an auxiliary signal into host signal. As shown, the inputs are a host signal block (e.g., blocks of a host digital image) (320) and an encoded auxiliary signal (322), which is to be inserted into the signal block. The encoded auxiliary signal may include an explicit synchronization component, or the encoded payload may be formulated to provide an implicit synchronization signal. Processing block 324 is a routine of software instructions or equivalent digital logic configured to insert the mapped signal(s) into the host by adjusting the corresponding host signal sample(s) at an embedding location according to the value of the mapped signal element. For example, the mapped signal is added/subtracted from corresponding a sample value, with scale factor and threshold from the perceptual model or like mask controlling the adjustment amplitude. In implementations with an explicit synchronization signal, the encoded payload and synchronization signals may be combined and then added, or added separately with separate mask coefficients to control the signal amplitude independently.

Applying the method of FIG. 3, the product or label identifier (e.g., in GTIN format) and additional flag or flags used by control logic are formatted into a binary sequence, which is encoded and mapped to the embedding locations of a tile. For sake of illustration, we describe an implementation of a tile having 256 by 256 embedding locations, where the embedding locations correspond to spatial domain embedding locations within an image. In particular, the spatial locations correspond to pixel samples at a configurable spatial resolution, such as 100 DPI or 300 DPI. In this example, we will explain the case where the spatial resolution of the embedded signal is 300 DPI, for an embodiment where the resulting image with encode data is printed on a package or label material, such as a paper, plastic or like substrate. The payload is repeated in contiguous tiles each comprised of 256 by 256 of embedding locations. With these embedding parameters, an instance of the payload is encoded in each tile, occupying a block of host image of about 1.28 by 1.28 inches. These parameters are selected to provide a printed version of the image on paper or other substrate. At this size, the tile can be redundantly encoded in several contiguous tiles, providing added robustness. An alternative to achieving desired payload capacity is to encode a portion of the payload in smaller tiles, e.g., 128 by 128, and use a protocol indicator to specify the portion of the payload conveyed in each 128 by 128 tile. Erasure codes may be used to convey different payload components per tile and then assemble the components in the decoder, as discussed in U.S. Pat. No. 9,311,640, which is hereby incorporated herein by reference in its entirety.

Following the construction of the payload, error correction coding is applied to the binary sequence. This implementation applies a convolutional coder at rate 1/4, which produces an encoded payload signal of 4096 bits. Each of these bits is modulated onto a binary antipodal, pseudorandom carrier sequence (−1, 1) of length 16, e.g., multiply or XOR the payload bit with the binary equivalent of chip elements in its carrier to yield 4096 modulated carriers, for a signal comprising 65,536 elements. These elements map to the 65,536 embedding locations in each of the 256 by 256 tiles.

An alternative embodiment, for robust encoding on packaging employs tiles of 128 by 128 embedding locations. Through convolutional coding of an input payload at rate 1/3 and subsequent repetition coding, an encoded payload of 1024 bits is generated. Each of these bits is modulated onto a similar carrier sequence of length 16, and the resulting 16,384 signal elements are mapped to the 16,384 embedding locations within the 128 by 128 tile.

There are several alternatives for mapping functions to map the encoded payload to embedding locations. In one, these elements have a pseudorandom mapping to the embedding locations. In another, they are mapped to bit cell patterns of differentially encoded bit cells as described in U.S. patent application Ser. No. 14/724,729. In the latter, the tile size may be increased to accommodate the differential encoding of each encoded bit in a pattern of differential encoded bit cells, where the bit cells corresponding to embedding locations at a target resolution (e.g., 300 DPI).

Our U.S. patent application Ser. No. 14/725,399, describes methods for inserting auxiliary signals in areas of package and label designs that have little host image variability. These methods are particularly useful for labels, including price change labels and fresh food labels. These signal encoding methods may be ported to the printing sub-system in scales used within fresh food, deli and meat departments to encode GTINs and control flags for variable weight items in the image of a label, which is then printed by the printer sub-system (typically a thermal printer) on the label and affixed to an item.

For an explicit synchronization signal, the mapping function maps a discrete digital image of the synchronization signal to the host image block. For example, where the synchronization signal comprises a set of Fourier magnitude peaks or sinusoids with pseudorandom phase, the synchronization signal is generated in the spatial domain in a block size coextensive with the 256 by 256 tile (or other tile size, e.g., 128 by 128) at target embedding resolution.

Various detailed examples of encoding protocols and processing stages of these protocols are provided in our prior work, such as our U.S. Pat. Nos. 6,614,914, 5,862,260, and 6,674,876, which are hereby incorporated by reference, and US Patent Publication No. US 2010-0150434 A1 and U.S. patent application Ser. No. 14/725,399, previously incorporated. More background on signaling protocols, and schemes for managing compatibility among protocols, are provided in U.S. Pat. No. 7,412,072, which is hereby incorporated by reference.

One signaling approach, which is detailed in U.S. Pat. Nos. 6,614,914, and 5,862,260, is to map elements to pseudo-random locations within a channel defined by a domain of a host signal. See, e.g., FIG. 9 of U.S. Pat. No. 6,614,914. In particular, elements of a watermark signal are assigned to pseudo-random embedding locations within an arrangement of sub-blocks within a block (referred to as a “tile”). The elements of this watermark signal correspond to error correction coded bits. These bits are modulated onto a pseudo-random carrier to produce watermark signal elements (block 306 of FIG. 3), which in turn, are assigned to the pseudorandom embedding locations within the sub-blocks (block 308 of FIG. 3). An embedder module modulates this signal onto a host signal by increasing or decreasing host signal values at these locations for each error correction coded bit according to the values of the corresponding elements of the modulated carrier signal for that bit.

FIG. 5 is a flow diagram illustrating a method for decoding a payload signal from a host image signal. Implementations of a watermark decoder and watermark processors available from Digimarc Corporation include:

Digimarc Mobile Software Development Kit; and

Digimarc Embedded Systems SDK.

The Embedded Systems SDK is the one typically integrated into scanner hardware.

Corresponding encoder embodiments available from Digimarc Corporation include:

Digimarc Barcode SDKs

Digimarc Barcode Plugin

Returning to FIG. 5, the frames are captured at a resolution preferably near the resolution at which the auxiliary signal has been encoded within the original image (e.g., 300 DPI, 100 DPI, etc.). An image up-sampling or down-sampling operation may be performed to convert the image frames supplied by the imager to a target resolution for further decoding.

The resulting image blocks supplied to the decoder from these frames may potentially include an image with the payload. At least some number of tiles of encoded signal may be captured within the field of view, if an object with encoded data is being scanned. Otherwise, no encoded tiles will be present. The objective, therefore, is to determine as efficiently as possible whether encoded tiles are present.

In the initial processing of the decoding method, it is advantageous to select frames and blocks within frames that have image content that are most likely to contain the encoded payload. From the image passed to the decoder, the decoder selects image blocks for further analysis. The block size of these blocks is set large enough to span substantially all of a complete tile of encoded payload signal, and preferably a cluster of neighboring tiles. However, because the distance from the camera may vary, the spatial scale of the encoded signal is likely to vary from its scale at the time of encoding. This spatial scale distortion is further addressed in the synchronization process.

For more on block selection, please see co-pending U.S. application Ser. No. 14/332,739, published as US 2015-0030201 A1, which are each hereby incorporated by reference in its entirety.

Please also see U.S. Provisional Patent Application No. 62/174,454, filed Jun. 11, 2015, and U.S. patent application Ser. No. 15/176,498, filed Jun. 8, 2016, which are hereby incorporated herein by reference in their entirety, for more on block selection where processing time is limited.

The first stage of the decoding process filters the image to prepare it for detection and synchronization of the encoded signal (402). The decoding process sub-divides the image into blocks and selects blocks for further decoding operations. For color images, a first filtering stage converts the input color image signal (e.g., RGB values) to a color channel or channels where the auxiliary signal has been encoded. See, e.g., U.S. Pat. No. 9,117,268, which is hereby incorporated herein by reference in its entirety, for more on color channel encoding and decoding. For an image captured under red illumination by a monochrome scanner, the decoding process operates on this “red” channel sensed by the scanner. Some scanners may pulse LEDs of different color to obtain plural color or spectral samples per pixel as described in our Patent Application Publication No. US 2013-0329006 A1, which is hereby incorporated by reference.

A second filtering operation isolates the auxiliary signal from the host image. Pre-filtering is adapted for the auxiliary signal encoding format, including the type of synchronization employed. For example, where an explicit synchronization signal is used, pre-filtering is adapted to isolate the explicit synchronization signal for the synchronization process.

In some embodiments, the synchronization signal is a collection of peaks in the Fourier domain. Prior to conversion to the Fourier domain, the image blocks are pre-filtered. See, e.g., LaPlacian pre-filter in U.S. Pat. No. 6,614,914. A window function is applied to the blocks and then a transform to the Fourier domain, applying an FFT. Another filtering operation is performed in the Fourier domain. See, e.g., pre-filtering options in U.S. Pat. Nos. 6,988,202, 6,614,914, and 9,182,778, which are hereby incorporated by reference in their entirety.

For more on filters, also see U.S. Pat. No. 7,076,082, which is hereby incorporated by reference in its entirety. This patent describes a multi-axis filter, e.g., an oct-axis filter. Oct axis compares a discrete image sample with eight neighbors to provide a compare value (e.g., +1 for positive difference, −1 or negative difference), and sums the compare values. Different arrangements of neighbors and weights may be applied to shape the filter according to different functions. Another filter variant is a cross shaped filter, in which a sample of interest is compared with an average of horizontal neighbors and vertical neighbors, which are then similarly summed.

Next, synchronization process (404) is executed on a filtered block to recover the rotation, spatial scale, and translation of the encoded signal tiles. This process may employ a log polar method as detailed in U.S. Pat. No. 6,614,914 or least squares approach of U.S. Pat. No. 9,182,778, to recover rotation and scale of a synchronization signal comprised of peaks in the Fourier domain. To recover translation, the phase correlation method of U.S. Pat. No. 6,614,914 is used, or phase estimation and phase deviation methods of U.S. Pat. No. 9,182,778 are used.

Alternative methods perform synchronization on an implicit synchronization signal, e.g., as detailed in Ser. No. 14/724,729 (published as 20160217547).

Next, the decoder steps through the embedding locations in a tile, extracting bit estimates from each location (406). This process applies, for each location, the rotation, scale and translation parameters, to extract a bit estimate from each embedding location (406). In particle, as it visits each embedding location in a tile, it transforms it to a location in the received image based on the affine transform parameters derived in the synchronization, and then samples around each location. It does this process for the embedding location and its neighbors to feed inputs to an extraction filter (e.g., oct-axis or cross shaped). A bit estimate is extracted at each embedding location using filtering operations, e.g., oct axis or cross shaped filter (see above), to compare a sample at embedding locations with neighbors. The output (e.g., 1, −1) of each compare operation is summed to provide an estimate for an embedding location. Each bit estimate at an embedding location corresponds to an element of a modulated carrier signal.

The signal decoder estimates a value of each error correction encoded bit by accumulating the bit estimates from the embedding locations of the carrier signal for that bit (408). For instance, in the encoder embodiment above, error correction encoded bits are modulated over a corresponding carrier signal with 16 elements (e.g., multiplied by or XOR with a binary anti-podal signal). A bit value is demodulated from the estimates extracted from the corresponding embedding locations of these elements. This demodulation operation multiplies the estimate by the carrier signal sign and adds the result. This demodulation provides a soft estimate for each error correction encoded bit.

These soft estimates are input to an error correction decoder to produce the payload signal (410). For a convolutional encoded payload, a Viterbi decoder is used to produce the payload signal, including the checksum or CRC. For other forms of error correction, a compatible decoder is applied to reconstruct the payload. Examples include block codes, BCH, Reed Solomon, Turbo codes.

Next, the payload is validated by computing the check sum and comparing with the decoded checksum bits (412). The check sum matches the one in the encoder, of course. For the example above, the decoder computes a CRC for a portion of the payload and compares it with the CRC portion in the payload.

At this stage, the payload is stored in shared memory of the decoder process. The recognition unit in which the decoder process resides returns it to the controller via its interface. This may be accomplished by various communication schemes, such as IPC, shared memory within a process, DMA, etc.

II. Sparse Marks

We refer to one embedding approach as “sparse” marking (or “sparse marks”) as the data carrying signal is formed as a relatively sparse array of signal elements, compared to a more continuous array of signal elements. For visual media, the sparse array of elements works well on portions of a host image that are uniform or solid tones or appear largely blank. We sometimes refer to a signal element as a “hole”, and to an array of signal elements as “holes”. Of course, the use of “hole(s)” should not limit the size or shape of an element(s).

With greater sophistication in the signaling, it also is effective in encoding blank areas around text of a document, label, visual display or package, as our signaling schemes employ robust data encoding strategies to mitigate impact of interference from the text. In one embodiment, a sparse mark is comprised of a pattern of spatial locations where ink is deposited or not. For example, the sparse signal may be comprised of ink dots on a light background, such that the signal forms a pattern of subtly darker spatial locations. The signal is designed to be sparse by the spacing apart of the darker locations on the light background. Conversely, the signal may be designed as an array of lighter elements or “holes” on a relatively darker background. In this darker background case, we sometimes refer to a signal element as a “hole”, and to an array of signal elements as “holes”. Of course, the use of “hole(s)” should not limit the size or shape of a signal element(s). See, for example, U.S. Pat. Nos. 6,345,104, 6,993,152 and 7,340,076, which are hereby incorporated by reference in their entirety.

The sparse signal has minimal impact on visual quality due to its sparse arrangement. However, the trade-off for applications like automatic object identification is that more sophistication is required in the data signaling methodology to ensure that the data carried within the sparse signal may be reliably and efficiently recovered in many different and challenging environments. The sparse nature of the signal dictates that less payload may be encoded per unit of object surface area. Further, within the sparse signal, there is a trade-off between allocating signal for payload capacity versus signal for robustness. In the latter category of robustness, the signaling scheme must support recovery in environments of geometric distortion, which occurs when the sparse signal is imaged from various angles, perspectives and distances, in the presence of noise of various types that tends to interfere with the data signal.

There are various sources of geometric distortion that need to be addressed to reliably recover the payload in the sparse signal. Examples of geometric distortion include signal cropping and warping. Cropping truncates portions of the sparse signal, e.g., in cases where only a portion is captured due to occlusion by other objects or incomplete capture by a scanner. Warping occurs when the surface on which the sparse signal is applied is curved (on cups or cans) or wrinkled (on bags and flexible plastic or foil pouches) and when the sparse signal is imaged from a surface at various perspectives.

The design of a signaling scheme must also account for practical challenges posed by constraints on digital circuitry, processors and memory for encoding and decoding. These include computational efficiency, power consumption, memory consumption, memory bandwidth, use of network bandwidth, cost of hardware circuitry or programmable processors/circuitry, cost of designing and integrating encoders and decoders within signal transmitter and receiver, equipment, etc. For example, some encoding schemes may provide optimized encoding or decoding, but may not be applicable because they are too slow for encoding or decoding in real time, e.g., as the host signal is being transmitted, received, updated, or being processed with multiple other signal processing operations concurrently.

One consideration in the design of a sparse signal is the allocation of signal for data carrying and for synchronization. Another consideration is compatibility with other signaling schemes in terms of both encoder and decoder processing flow. With respect to the encoder, the sparse encoder should be compatible with various signaling schemes, including dense signaling, so that it each signaling scheme may be adaptively applied to different regions of an image design, as represented in an image design file, according to the characteristics of those regions. This adaptive approach enables the user of the encoder tool to select different methods for different regions and/or the encoder tool to be programmed to select automatically a signaling strategy that will provide the most robust signal, yet maintain the highest quality image, for the different regions.

One example of the advantage of this adaptive approach is in product packaging where a package design has different regions requiring different encoding strategies. One region may be blank, another blank with text, another with a graphic in solid tones, another with a particular spot color, and another with variable image content.

With respect to the decoder, this approach simplifies decoder deployment, as a common decoder can be deployed that decodes various types of data signals, including both dense and sparse signals.

One approach to sparse signal design is to construct the signal to have optimal allocation of payload and synchronization components, without regard to compatibility with legacy dense signaling protocols. In such an approach, the signaling techniques for data and synchronization are developed to minimize interference between the variable data carrying and synchronization functions of the sparse signal. For example, if the sparse signal is being designed without needing to be compatible with a dense signaling strategy, it can be designed from the start to be comprised as an array of sparse elements, with variable data and sync functions. One advantage is that there is no need to apply a threshold or quantizer to remove aspects of a signal to convert it into a sparse format.

Another approach is to design a sparse signal to be compatible with a legacy signaling scheme. Within this type of an approach, one can employ techniques to convert a legacy signaling scheme into a sparse signal. In particular, in one such approach, the process of generating a sparse signal begins with a dense watermark signal, and selectively removes elements of it to produce a sparse signal, while retaining sufficient amounts of data and synchronization functionality.

As we detail further below, there are several ways to convert dense signals to sparse signals. Before exploring these methods, we start by further considering properties of dense signals relative to sparse signal. In some cases, a dense signal is comprised of a multi-valued watermark tile (e.g., eight bit per pixel image approximating a continuous signal), which is a block of m by n embedding locations, where m and n are the integer coordinates of embedding locations in a tile (e.g., m=n=128, 256, 512, etc.). The value at each tile corresponds to an adjustment to be made to a corresponding location in a host image to encode the watermark. The tile is repeated contiguously in horizontal and vertical directions over a region of the host image, possibly the entire image. The signal is considered “dense” relative to a sparse signal, when the adjustments are densely spaced, in contrast to a sparse signal, where its signal elements are spread apart in the tile. Dense signals are preferred for host signals that are similarly dense, varying, and multi-valued, enabling embedding by adjusting the values of the host signal at the embedding locations. A dense embedding enables higher capacity embedding for both data and sync functions within a tile.

Converting a dense signal to a sparse signal still achieves the objective of reliable signaling due to a couple of characteristics of the signal and host. First, the signal is redundant in the tile and across repeated tiles, so removing a portion of it from each tile leaves sufficient signal for reliable and complete recovery of the payload. Signal detection is aggregated across tiles to further assist in reliable recovery, as detailed, for example in U.S. Pat. No. 6,614,914. Second, sparse signaling is adaptively applied where there is less likely to be interference with host signal content, and as such, its sparse property is relatively less impacted by interference.

Some approaches to converting dense to sparse signals include, but are not limited to:

-   -   Quantizing the array of multi-valued signal to produce a sparse         array of elements by quantizing some sub-set of the values to         zero;     -   Selecting a sub-set of a dense signal, with selection being         adapted to retain data signal and sync function within a tile         (keeping in mind that such selection may be implemented across         tile boundaries in a manner that reliable detection can be made         with the aid of extraction from an area larger than that of a         single tile);     -   Selecting locations to retain based on a particular signal         pattern, which may be variable or fixed per tile;     -   Selection or locations based on a pattern of the data signal or         a synchronization signal; and     -   Combinations of the above, where, for example, quantizing         inherently acts to select values to retain and sets the value of         the sparse element.

These methods are not mutually exclusive and may be combined in various ways. The case of using quantization may also include applying a fixed or adaptive threshold operation to convert a multi-valued dense signal to a sparse signal. Use of a threshold operation to generate a sparse signal is described, for example, in U.S. Pat. No. 6,993,152, which is incorporated by reference above. Below, we describe further details through examples illustrating various methods.

Whether one starts with a sparse signal or generates one by converting a dense signal, it should be noted that techniques for modulating variable data into the sparse signal can vary quite a bit. Our U.S. Pat. Nos. 5,862,260, 6,614,914, and 6,345,104 describe several examples of modulation for carrying variable data in image content, and U.S. Pat. No. 9,747,656, which are all hereby incorporated herein by reference in their entirety, describes yet additional examples, including differential modulation methods. These documents also describe explicit and implicit synchronization signals.

As introduced above with reference to FIG. 3, there are stages of modulation/demodulation in the encoder, so it is instructive to clarify different types of modulation. One stage is where a data symbol is modulated onto an intermediate carrier signal. Another stage is where that modulated carrier is inserted into the host by modulating elements of the host. In the first case, the carrier might be pattern, e.g., a pattern in a spatial domain or a transform domain (e.g., frequency domain). The carrier may be modulated in amplitude, phase, frequency, etc. The carrier may be, as noted, a pseudorandom string of 1's and 0's or multi-valued elements that is inverted or not (e.g., XOR, or flipped in sign) to carry a payload or sync symbol.

As noted in our application Ser. No. 14/724,729 (issued as U.S. Pat. No. 9,747,656), carrier signals may have structures that facilitate both synchronization and variable data carrying capacity. Both functions may be encoded by arranging signal elements in a host channel so that the data is encoded in the relationship among signal elements in the host. Application Ser. No. 14/724,729 specifically elaborates on a technique for modulating, called differential modulation. In differential modulation, data is modulated into the differential relationship among elements of the signal. In some watermarking implementations, this differential relationship is particularly advantageous because the differential relationship enables the decoder to minimize interference of the host signal by computing differences among differentially encoded elements. In sparse signaling, there may be little host interference to begin with, as the host signal may lack information at the embedding location.

Nevertheless, differential modulation may be exploited or the scheme may be adapted to allow it to be exploited for sparse signaling. For example, sparse elements may be designed such that they have a differential relationship to other elements, either within the sparse signal (e.g. the sync component), or within the host signal (e.g., neighboring background of each sparse element). A sparse element where a dot of ink is applied, for example, has a differential relationship with neighbors, where no ink is applied. Data and sync signals may be interleaved so that they have such differential relationships. A sparse signal may be encoded differentially relative to a uniform or solid tone, where some sparse elements darken the tone (e.g., darker dots), and others lighten it (e.g., lighter holes).

Differential schemes may further be employed as a preliminary stage to generate a dense multi-valued signal, which in turn is converted to a sparse signal using the above described schemes for conversion. The encoder then converts this dense signal to a sparse signal, maintaining where possible, differential relationships.

Another form of modulating data is through selection of different carrier signals to carry distinct data symbols. One such example is a set of frequency domain peaks (e.g., impulses in the Fourier magnitude domain of the signal) or sine waves. In such an arrangement, each set carries a message symbol. Variable data is encoded by inserting several sets of signal components corresponding to the data symbols to be encoded. The decoder extracts the message by correlating with different carrier signals or filtering the received signal with filter banks corresponding to each message carrier to ascertain which sets of message symbols are encoded at embedding locations.

Having now illustrated methods to modulate data into the watermark (either dense or sparse), we now turn to the issue of designing for synchronization. For the sake of explanation, we categorize synchronization as explicit or implicit. An explicit synchronization signal is one where the signal is distinct from a data signal and designed to facilitate synchronization. Signals formed from a pattern of impulse functions, frequency domain peaks or sine waves is one such example. An implicit synchronization signal is one that is inherent in the structure of the data signal.

An implicit synchronization signal may be formed by arrangement of a data signal. For example, in one encoding protocol, the signal generator repeats the pattern of bit cells representing a data element. We sometimes refer to repetition of a bit cell pattern as “tiling” as it connotes a contiguous repetition of elemental blocks adjacent to each other along at least one dimension in a coordinate system of an embedding domain. The repetition of a pattern of data tiles or patterns of data across tiles (e.g., the patterning of bit cells in our U.S. Pat. No. 5,862,260) create structure in a transform domain that forms a synchronization template. For example, redundant patterns can create peaks in a frequency domain or autocorrelation domain, or some other transform domain, and those peaks constitute a template for registration. See, for example, our U.S. Pat. No. 7,152,021, which is hereby incorporated by reference in its entirety.

The concepts of explicit and implicit signaling readily merge as both techniques may be included in a design, and ultimately, both provide an expected signal structure that the signal decoder detects to determine geometric distortion.

In one arrangement for synchronization, the synchronization signal forms a carrier for variable data. In such arrangement, the synchronization signal is modulated with variable data. Examples include sync patterns modulated with data.

Conversely, in another arrangement, that modulated data signal is arranged to form a synchronization signal. Examples include repetition of bit cell patterns or tiles.

These techniques may be further exploited in sparse signal design because the common structure for carrying a variable payload and synchronizing in the decoder is retained in the sparse design, while minimizing interference between the signal components that provide these functions. We have developed techniques in which one signal component is a carrier of the other component, and in these techniques, the process of generating a sparse signal produce a signal that performs both functions.

The variable data and sync components of the sparse signal may be chosen so as to be conveyed through orthogonal vectors. This approach limits interference between data carrying elements and sync components. In such an arrangement, the decoder correlates the received signal with the orthogonal sync component to detect the signal and determine the geometric distortion. The sync component is then filtered out. Next, the data carrying elements are sampled, e.g., by correlating with the orthogonal data carrier or filtering with a filter adapted to extract data elements from the orthogonal data carrier. Signal encoding and decoding, including decoder strategies employing correlation and filtering are described in our co-pending application Ser. No. 14/724,729, and these strategies may be employed to implement this approach for sparse signaling.

Additional examples of explicit and implicit synchronization signals are provided in our previously cited U.S. Pat. Nos. 6,614,914, and 5,862,260. In particular, one example of an explicit synchronization signal is a signal comprised of a set of sine waves, with pseudo-random phase, which appear as peaks in the Fourier domain of the suspect signal. See, e.g., U.S. Pat. Nos. 6,614,914, and 5,862,260, describing use of a synchronization signal in conjunction with a robust data signal. Also see U.S. Pat. No. 7,986,807, which is hereby incorporated by reference in its entirety.

Our US Publication US 2012-0078989 A1, which is hereby incorporated by reference in its entirety, provides additional methods for detecting an embedded signal with this type of structure and recovering rotation, scale and translation from these methods.

Additional examples of implicit synchronization signals, and their use, are provided in U.S. Pat. Nos. 6,614,914, 5,862,260, and application Ser. No. 14/724,729 as well as U.S. Pat. Nos. 6,625,297 and 7,072,490, which are hereby incorporated by reference in their entirety.

Returning now to sparse signal design, we now provide detailed examples of sparse signaling techniques. FIG. 6 is a diagram illustrating an embodiment of a sparse signal generator. The signal generator starts with a tile of two signal components, one carrying variable data 420, and one providing a synchronization function 422. The synchronization signal is multi-valued per pixel, and it is passed through a quantizer 424 to convert it to a signal with fewer levels per pixel. In its simplest form, the quantizer converts the multi-valued signal into a binary signal, represented as black and white pixels, by a threshold operation. The threshold operation for each pixel within a tile compares each value with a threshold. For binary signals, elements below the threshold are shown as black here, while elements above the threshold are white. As noted, this is simply representative of a modulation state of an optical property at a sparse element, such as darker or lighter relative to background, and is not particularly limited to rendering black and white pixels.

The variable data signal 420 is comprised of elements having one of two values (e.g., 1 or 0, A, −A). As explained previously, a payload signal may be transformed into a robust data signal through one or more modulation stages, e.g., error correction and modulating the error correction coded signal onto a binary carrier signal, which is the approach used in this embodiment. This modulated carrier is mapped to pixel locations within the tile to form data tile 420.

The signal generator of FIG. 6 produces a sparse signal by selectively combining elements of data tile 420 with the quantized synchronization signal 422. In the embodiment illustrated here, the signal generator performs a matrix operation 428 that selectively retains components of the data and synchronization tiles, while producing a sparse signal output 430. One particular matrix operation to generate dark sparse elements on a lighter background, as shown here, is to compute a logical AND operation between corresponding pixel locations within the data and synchronization tiles, such that pixels that are both black at the same coordinates in each tile remain black in the output. For other inputs (white AND white, black AND white, or white AND black), the output pixel is white at that coordinate.

In this approach, the black pixels of the message signal are retained at all coordinates in the tile where the synchronization signal also has a black pixel. This technique distributes sparse message elements within a tile according the spatial distribution of the synchronization signal. It ensures that there sufficient signal energy to carry the payload robustly, while preserving sufficient signal energy for synchronization. It also ensures that the sync signal does not interfere with the sparse message elements. This approach may be reversed in the case where the objective is to generate a sparse signal with light holes against a darker background, with quantization level set appropriately (see later illustrations of setting thresholds for holes in dark background).

This approach also demonstrates a signal generation method in which a multi-valued component is effectively merged with a binary component. The multi-valued synchronization tile is a spatial domain representation of synchronization template formed by peaks in the frequency domain. The binary valued payload carrying component is redundantly encoded and distributed over the tile. In particular, modulated carrier elements, with an equal number of binary 0 and 1 values are spread evenly over the spatial locations within a tile.

The principles of the method may be applied to alternative signal component inputs. The sync and data components may both be multi-valued and selectively quantized to a binary or M-ary form prior to merging with a selective combination of the components per tile location. Alternatively, both the sync and data components may be binary valued and merged with a logic operation. Finally, the data component may be multi-valued and the sync component binary valued, with the data component being quantized prior to merging with the sync component. The matrix operation to combine elements at tile coordinates may be adapted to retain sync and data components that are compatible (e.g., consistently valued or falling within the same quantization bin). This approach allows the generator to form sparse marks with dark elements on lighter background, lighter elements on darker background, or a combination of lighter and darker sparse elements against a mid-level tone background.

Quantization level (including threshold) and merging function may be set with adaptive parameters to bias the sparse signal toward data or sync elements.

FIG. 7 is a diagram illustrating a refinement of a sparse signal generator like the one in FIG. 6. In this refinement, the output of the sparse signal generator is further processed to transform the sparse signal elements. The sparse signal tile output from the generator has dimensions of m by n, where m and n are integer coordinates. For the sake of illustration, we use the example of m=n=128. In preparation for application to an object, the tile coordinates are mapped to coordinates in a target spatial resolution, which is typically expressed in Dots Per Inch (DPI). In FIG. 7, the mapping of a tile coordinate corresponds to a 4 by 4 block, which means that the effective DPI of the tile is one-fourth the DPI of the target image resolution. For example, the sparse mark tile may be generated to be 75 DPI for insertion into an image at 300 DPI, which translates to each tile coordinate (called a waxel) being a 4 by 4 block (waxel region) of pixels in the image coordinate system at 300 DPI. We refer to the region as the “bump” and ratio of target image resolution to waxel resolution as the bump size.

In the refinement of FIG. 7, light and dark waxels (500, 502) of the sparse tile are converted to the higher output resolution. This conversion enables additional flexibility in the shaping and location of each sparse element. Light elements 500 simply convert to 4×4 regions of light elements (504) at the waxel coordinates. In this example of dark sparse elements on light background, the flexibility is in the selection of the location of the dark element. In the technique of FIG. 7 the location of the dark element is pseudo-randomly selected from among 4 locations within the center 2×2 square within the 4×4 pixel region of a waxel. These four alternative locations are depicted in blocks 506, 508, 510 and 512. The resulting converted sparse signal output is shown as output tile 514. This conversion of the sparse input signal (e.g., at 75 DPI) to sparse output image signal at the target resolution (e.g., 300 DPI) does the following:

-   -   It makes the sparse signal more sparse;     -   It varies the location of the sparse element per embedding         location so that sparse elements are not consistently falling on         horizontal rows and vertical columns of the tile to make the         sparse signal less visually perceptible;     -   It provides some protection against errors introduced by dot         gain of the printing process. Even with errors in dot size and         location due to dot gain, the resulting sparse element is still         located within the correct tile region.

As we explain further below, this sparse output signal may also be converted further in the RIP process and as applied when printed or marked onto an object surface, or rendered for display on a screen or projected image.

FIGS. 8-10 depict histograms of signal components to help illustrate aspects of sparse signal generation from different types of signals. FIG. 8 is a histogram of a digital watermark signal component, with waxel values that are at one of two different levels (−1, 1). This is an example of a histogram of a binary antipodal watermark tile, generated by modulating symbols onto binary antipodal carriers (e.g., a chipping sequence) to create message chips which are mapped pseudo-randomly into locations across the tile.

FIG. 9 is a histogram of another digital watermark signal component with multi-level values. This is an example of a spatial domain conversion of a sync signal tile formed as frequency domain peaks with pseudorandom phase.

FIG. 10 is a histogram of a combination of the digital watermark signal components of FIGS. 8 and 9, also depicting an example of a threshold operation to generate a binary image comprising black and white pixels from an image comprised of multi-valued pixels. In this example, the binary anti-podal signal elements are multiplied by a scale factor of 10 and then added to the multi-valued signal component with the distribution of FIG. 9. To create a sparse signal of darker dots on a lighter background, a threshold operation is applied, for example at the threshold level of the dashed line. Tile elements with a value below the threshold are set to dark (“black”) and tile elements with a value above the threshold are set to light (“white”). This diagram provides a graphical depiction of the sparse signal generation process, which retains signal of both data carrying and sync components. The manner in which the payload is modulated onto carriers with half positive and half negative values ensures that the complete signal can be recovered from waxels of negative values or waxels of positive values. Here, for dark on light background, the negatively valued waxels are retained. Additionally, sufficient signal energy of the sync signal is also retained.

FIG. 10 is a diagram illustrating another refinement of the sparse signal generator of FIG. 6. This refinement leverages the same flexibility discussed in connection with FIG. 7 in establishing the sparse dot in a bump region. In this case, the sparse dot is located in the bump region where the sync signal level is at its lowest (for dark on light background sparse marks). A similar approach may be used for sparse holes in a darker background, with the sparse hole located where the synch signal level is highest within the bump region. Because of possible dot gain errors, this approach, like the one in FIG. 7, limits the selection of dot location to the center four pixels of the bump region.

In this variant of the sparse signal generation, the multi-valued sync tile (600) is provided at the resolution of the target image (e.g., 300 DPI in the continuing example, where waxels are at resolution of 75 DPI). The low point within the center 4×4 region of the waxel is at location 602. The signal generator places the sparse dot at this location 602, which is one (606) of the four candidate locations, 604, 606, 608, 610, selectable by the signal generator. This variant provides more sync signal strength as the sparse signal is generated based on a more detailed analysis of the sync signal level within the waxel.

FIG. 12 is a diagram illustrating application of a threshold to a continuous watermark signal, and the resulting output for three different thresholds. The top three boxes 620, 622 and 624, illustrate histograms of a continuous watermark signal, with three different threshold settings, shown as the dashed lines. Waxels with values below the threshold are set to black (darker pixels), while values above are set to white (lighter pixels). The selection of thresholds at these three different settings corresponds to the binary image signals 626, 628 and 630 shown below each histogram. These diagrams illustrate how the thresholds may be adjust to set the sparseness of the output signal. The strongest signal output for the continuous signal is where the threshold is set to zero.

FIG. 12 illustrates how the thresholding of the continuous watermark signal component controls the distribution of the sparse signal elements in the tile. The technique of combining the binary data signal with the continuous sync signal with a logical AND operation has the effect of distributing the data signal according to the sync signal.

FIG. 13 illustrates a portion of a sparse signal in magnified state to show dot structure in more detail and set up our explanation of an additional transformation of the sparse signal. In this particular example, the image resolution is 300 DPI, and the black squares are 2×2 black pixels at the center of the 4×4 waxel region (the “bump” region of a waxel, where waxels are at 75 DPI). In contrast to the examples of FIGS. 5 and 9 where a sparse dot is selected from among the 4 pixels of the center 2×2 pixels, here all four of the 2×2 pixels are set to black.

FIG. 14 illustrates the sparse signal of FIG. 13, modified to reduce the signal using a line screen approach. The sparse signal of FIG. 14 is derived from the signal of FIG. 13 by screening back the black dots from 100% to 15% with a 175 line screen. This is just one example of how the sparse signal can be made less perceptible by reducing the sparse elements. In this case, the signal is screened back. Another alternative is to reduce the sparse elements by diluting the ink used to print it (e.g., diluting the ink to create a 15% ink dot).

While we illustrate several examples with black or dark pixels on a light background, the same approach may be applied in different color inks, including spot colors. Applying the sparse signal with Cyan ink is particularly effective where the signal is captured with a scanner that predominantly captures image signal around a 660 nm wavelength, like most commercial 1D barcode scanners. The sparse elements may be reduced by screening, diluted ink, or other reduction techniques applied in the RIP and/or at the time of applying the sparse element to a substrate.

The above examples also show sparse signals are constructed from continuous or multivalued signal components and binary signal components. One component is a variable data carrier while another is a sync signal. The functions of the components may be reversed. Alternatively, both the data and sync components may be continuous signals that are selectively quantized and combined.

An alternative sparse signal generation process, for example, is a process that begins with sync and data components that are peaks in the frequency domain. The sync peaks are fixed to form a sync template, whereas the data peaks vary in location in frequency coordinates according to data symbols being encoded. These signal components form a continuous spatial domain signal when the combined peak signals are transformed to the spatial domain. This continuous signal is then converted to a sparse signal with a threshold operation using the above-explained approach to generate sparse image signals with both data and sync components. This approach enables the frequency components for sync and data to be selected so as to minimize interference between the two components.

In particular, the frequencies may be chosen to be orthogonal carrier signals, with some for sync, some for data, and some for both sync and data. The carriers may be modulated with variable data, e.g., using frequency shifting, phase shifting, etc.

One benefit of the above techniques is that they are compatible with signal decoders designed for dense watermark signal counterparts to the sparse signal. For details on decoders, including synchronization methods, please see our decoders detailed in U.S. Pat. Nos. 6,614,914, 5,862,260, and 6,345,104, and synchronization methods in US 2012-0078989 A1, which are each hereby incorporated herein in its entirety. Synchronization methods and variable data demodulation operate in a similar fashion as in dense watermark schemes. However, as noted, the extraction filters may be adapted to be optimized for sparse mark extraction.

Binary, multi-valued and continuous watermark signal components may also be generated using various techniques describe in our co-pending application Ser. No. 14/724,729, filed May 28, 2015, which is hereby incorporated herein by reference in its entirety, and which describes various watermark signal arrangements, differential modulation strategies, and synchronization approaches. These binary and multi-valued signal components may then be converted to sparse signals using the techniques described in this document. Though the decoding of such sparse signals follows the dense decoding counterparts, we provide an example of the processing flow below.

Even further details of our sparse marking technology can be found in assignee's U.S. Pat. No. 9,635,378, and US Published Application No. US 2017-0024840 A1, which are each hereby incorporated herein by reference in its entirety.

III. Signal Encoding for Inks with Low Reflectivity

Digimarc is currently providing a machine-readable digital watermarking solution for retail packaging and other printed objects, often using the terms “Digimarc Barcode for packages” and/or “Digimarc Barcode”. Among other advantages, digital watermarking facilitates faster and more efficient checkout relative to traditional 1D barcode checkout. In one Digimarc solution, a digital watermark signal can be printed on a retail package through selective modulation of the package's inherent design colors, or by adding additional ink to the package. In many cases the digital watermark signal is redundantly provided across the package surface, e.g., arranged in a tile-like pattern. That is, more than one instance of a digital watermark signal can be provided on a package surface. This avoids furiously rotating a package in search of a single 1D barcode on the package surface at checkout, since any encoded package face can be read by a signal detector.

The majority of retail point-of-sale (POS) scanners currently have a narrow-band red LED, roughly with a peak illumination at or around 660 nm. We use the terms “at or around 660 nm” to mean a peak illumination within a range of 630 nm-710 nm. One example is a peak at 660 nm. Another example is a peak at 688 nm. Still another is a peak at 645 nm. Of course, many other peaks are intended to be included within this range. Additional details regarding red LED scanners can be found, e.g., in assignee's U.S. Pat. No. 9,380,186, which is hereby incorporated herein by reference in its entirety. We use the terms “machine-vision wavelength” in the present patent document to mean a color spectral wavelength at or around a wavelength (e.g., at or around 660 nm) at which an image capture device (e.g., a red LED scanner or smartphone camera) operates.

Color Selection

Packages with areas of ink with low reflectivity at or around 660 nm are sometimes difficult to encode for Digimarc Barcode, since they appear black to a red LED Point of Sale scanner (e.g., “POS scanner” may include an imaging device with narrowband illumination at or around 660 nm). It can be also difficult to conventionally watermark a spot color which has low reflectivity at or around 660 nm AND a large ΔL*, Δa* and Δb* for a spot color relative to a substrate, without having either a large color match error and/or encoded signal visibility error. Examples of difficult-to-encode spot colors are Pantone Green, Process Blue and Process Black, etc. We sometimes refer to these types of spot colors as “dark spot” colors.

One solution to this low reflectivity problem is to punch holes in the background color with low reflectivity at or around 660 nm, allowing a red LED POS scanner see the white substrate, which has high reflectivity at or around 660 nm. See FIG. 15A. (In this section, relatively flat areas of ink color on a printed package or other printed object can be called a “background color”.) If these holes are patterned in a sparse mark pattern, as discussed above, then a detector analyzing imagery of the sparse mark pattern can detect a signal therefrom.

Unfortunately, using a method of open white holes may result in an encoded signal with high visibility to a human observer. See FIG. 15A, right patch. To reduce encoded signal visibility, signal pattern holes can be filled with an ink color which is visible to a red LED POS scanner, but comprises low perceptibility to the human visual system (HVS). See FIG. 15B (“Background including filled holes” right patch vs. “Background including white holes” middle patch.). FIG. 16 shows reflectivity vs wavelength for the background color (PMS Green) in FIGS. 15A and 15B relative to the fill color (PMS 576) in FIG. 15C.

One algorithm used to select a hole fill color expands the methods used to select a best ink to watermark a white substrate, e.g., as discussed in assignee's US Published Patent Application Nos. US 2018-0047126 A1 and US 2018-0047127 A1, which are each hereby incorporated herein by reference in their entirety. See, e.g., Section III in each of these applications including ranking of colors according to our Digimarc Barcode Score (“DB Score”).

FIG. 15C shows a graph of a background color PMS 432, which has low reflectivity at or around 660 nm, and hole fill color PMS 2356. This hole fill color would be a good choice for many background colors having low reflectivity. As seen in the graph, there is a reflectivity difference (ΔR) between the two colors at or around 660 nm. To generalize, visibility of an encoded signal can be reduced by filling holes with a color that has a relatively higher reflectivity at 660 nm (compared to the dark spot color) AND similar Lab to the dark spot. The term “similar” in this context can be measured in color error match, e.g., a Delta-E (4E) at or below 2. Preferably, they are similar within a ΔE of 1.0 or below.

We can determine total signal robustness per unit visibility for these colors at a particular machine-vision wavelength, e.g., at or around 660 nm. This in hole fill implementation, this machine-vision dependence can be evidenced by a relationship between the reflectance (R) at or around 660 nm of a target or particular hole fill color (R660_(100% fill color)) at full printed color value (e.g., 100% ink) less the reflectance (R) of the background color at or around 660 nm (R660_(background)). In fact, encoded signal robustness can be viewed as being proportional to, e.g.:

Δ660=R660_(100% fill color) −R660_(background)

In FIG. 15C, and as shown in the hole-filled signal patch in FIG. 15B, the reflectance difference between the fill color and the background color, specifically at or around 660 nm, Δ660, is approximately 30%-35%. We have found that sufficient encoded signal reading can be had with a ΔR in the range of 8%-60+%. More favorable results are had with a ΔR at or above 10%, e.g., in a range of 10%-20% or 10%-60%. We have found even more favorable results with a ΔR at or above 12%, e.g., in a range of 12%-20% or 12%-60% or 18%-60%. Although higher ΔR values can result in signal visibility concerns or higher color errors, a detector will likely see these higher values even more pronouncedly.

Reflectance (R) can be quantitatively measured, e.g., using a spectrophotometer. Suitable devices are sold by, e.g., PCE Americas Inc., with offices at 711 Commerce Way Suite 8, Jupiter, Fla., USA, such as the Spectrophotometer PCE-CSM 10 or PCE-CSM 8. Other spectrophotometers are provided by, e.g., Konica Minolta Sensing Americas, Inc., with offices at 101 Williams Drive Ramsey, N.J., USA, such as the Spectrophotometer CM-5, and by, e.g., X-Rite Corp., with offices at 4300 44th St. SE, Grand Rapids Mich. USA, such as the RM200QC Imaging Spectrocolorimeter or X-Rite Pantone subsidiary's Pantone CAPSURE. Of course, other commercially available spectrophotometers can be used as well.

Once Δ660 is determined, we can establish a proportional relationship of Δ660 to a visibility error introduced into a design by a target color carrying an encoded signal. This visibility error can be classified by two (2) components: i) a color error, e.g., a color shift error or a color match visibility error (Ecm), and ii) encoded signal error, e.g., a texture error or an encoded signal visibility error (Ewm).

For the color match visibility error we can use:

${Ecm} = \left( {\left( {\Delta \; L^{*}} \right)^{2} + \left( {\Delta \; a^{*}} \right)^{2} + \left( {\Delta \; b^{*}} \right)^{2}} \right)^{\frac{1}{2}}$

where, ΔL* is the luminance factor or lightness difference between 100% of the hole fill ink and the background, Δa* represents a relationship between the ‘a’ channel color values of the target or particular hole fill color (a_(fill_color)) and the ‘a’ channel color values of the background (a_(back)) [e.g., a_(fill_color)−a_(back)], and Δb* represents a relationship between the ‘b’ channel color values of the target or particular hole fill color (b_(fill_color)) and the ‘b’ channel color values of the background color (b_(back)) [e.g., b_(fill_color)−b_(back)]. For the encoded signal visibility error we can use:

${Ewm} = \left( {\left( {\Delta \; L^{*}} \right)^{2} + \left( \frac{\Delta \; a^{*}}{8} \right)^{2} + \left( \frac{\Delta \; b^{*}}{16} \right)^{2}} \right)^{\frac{1}{2}}$

So let's now look at these two errors with respect to a spectral dependency at a given machine-vision wavelength, e.g., at or around 660 nm. One such relationship includes, e.g.:

${RWV} = \frac{\Delta 660}{\left( {\left( {\Delta \; L^{*}} \right)^{2} + \left( \frac{\Delta \; a^{*}}{8} \right)^{2} + \left( \frac{\Delta \; b^{*}}{16} \right)^{2}} \right)^{\frac{1}{2}}}$

In the above equation, RWV represents a proportional encoded signal error or “robustness per unit watermark visibility” at a given machine-vision wavelength, ΔL* is the luminance factor or lightness difference between 100% of the hole fill ink and the background, Δa* represents a relationship between the ‘a’ channel color values of the target or particular hole fill color (a_(fill_color)) and the ‘a’ channel color values of the background (a_(back)) [e.g., a_(fill_color)−a_(back)], and Δb* represents a relationship between the ‘b’ channel color values of the target or particular hole fill color (b_(fill_color)) and the ‘b’ channel color values of the background color (b_(back)) [e.g., b_(fill_color)−b_(back)]. As discussed above, the denominator term generally represents an error due to an encoded signal “texture” or an introduced signal error when conveyed by the target or particular color. CIE L*, a* and b* can be measured values, or previously determined values relative, e.g., to a particular substrate.

Next we evaluate robustness per unit color match visibility. This feature can be generalized as being proportion to the color error at a machine-vision wavelength, e.g., at or around 660 nm, associated with the target or particular hole fill_color. ΔL*, Δa* and Δb*, below, have the same relationships as in the above RWV relationship. RCV represents one example of a proportional color error.

${RCV} = \frac{\Delta 660}{\left( {\left( {\Delta \; L^{*}} \right)^{2} + \left( {\Delta \; a^{*}} \right)^{2} + \left( {\Delta \; b^{*}} \right)^{2}} \right)^{\frac{1}{2}}}$

If color error and encoded signal error have equal importance, then the total signal robustness per unit visibility (RPV) can be determined by combining RWV and RCV, e.g.:

RPV=RWV+RCV

In some cases, we weight RWV and RCV to emphasize or deemphasize the encoded signal error or color error, if one is relatively more important than the other. For example, RPV=0.7RWV+0.3RCV, or RPV=0.25RWV+0.75RCV.

All pantone colors can be evaluated to find a best match for hole filling for all dark spot colors or for a particular background spot color. For example, colors can be normalized and ranked as discussed in our US Published Patent Application Nos. US 2018-0047126 Aland US 2018-0047127 A1. The higher the score (e.g., DB Score) the better a color is for a match.

Of course, we need not limit ourselves to spot colors or single colors to find a hole fill_color. Instead, a combination of ink colors can be selected by looking through a set of overprint spectra. For example, color patches (and their corresponding reflectance and Lab values) printed to create a CMYK or ECG color profile could be used to find a best overprint hole fill_color for a particular background. In some cases, a design may be limited to being printed only using the original design file colors. In this case, available single colors and overprint spectra of the colors can be used to determine a hole fill_color. For example, the robustness calculation considers reflectivity of overprint spectra at or around 660 nm relative to a dark spot color. And, visibility error may be considered for the overprint spectra relative to a dark spot color.

The above hole fill calculation can be modified to accommodate less than ideal printing conditions. For example, an intended printing press may not keep the printing plates registered within a standard tolerance. That is, the plates are not in alignment resulting in color registration errors. One example of a printing standard is the G7 calibration standard, which establishes an acceptable registration tolerance for linear plates at +/−2%. But not all printers fall within such tolerances. Consider plate mis-registration in the context of filling signal elements or holes. If the plates are mis-registered, the hole color may not fill the entire hole, leaving white showing through.

One solution is to use pre-press image trapping. This type of trapping includes adjusting areas where two distinct, adjacent colors meet so that press mis-registration will not result in white spaces or other artifacts. You can image that white space remaining in a hole would result in a more visible encoded signal compared to a completely filled hole. For filling holes within a dark spot color, we prefer to use a so-called “spread” trap, in which a hole fill_color overlaps the relatively darker spot color background and seems to expand into the background.

Before we get too caught up in a trap, let's discuss a hole fill process. Given a Pantone Green, we can use the above algorithms to determine that Pantone 576 is a suitable or best hole fill_color. For example, a DB Score can be calculated, with higher scores indicating a better selection. FIG. 16 shows a graph of a background color of Pantone Green, which has a higher lightness but still has low reflectivity at or around 660 nm. The suitable hole fill_color PMS 576 is also plotted. In this case the ΔR is 25-30%. FIG. 17A shows a Pantone Green patch including an encoded signal conveyed with holes filled with Pantone 576. (The upper right hand corner of the patch is just Pantone 576, and the lower right hand corner of the patch is just Pantone Green.)

FIG. 17B shows a progressively zoomed-in encoded image area with the bottom left patch showing a single hole location. As shown, the hole fill_color can be dilated (e.g., expanded or grown) at the hole location by, e.g., a single 300 dpi pixel. While we prefer a single pixel for visibility reasons, the trapping can be expanded to 2, 3 or 4 pixels. A single 300 dpi pixel trap would allow for plate to plate registration errors of about 1/300″. The visual effect of a trap using a selected fill_color determined from the above methods may increase visibility and reduce robustness. For example, in FIG. 17B, the overprinted or trap area (e.g., 1-pixel border around a hole) appears darker relative to the fill_color (Pantone 576) and background (Pantone Green). FIG. 17C, top patch, shows the trapped hole area of FIG. 17B overlaid with a pixel grid. To further illustrate, FIG. 18A shows encoded color patches, with the top left patch comprising a Pantone Green background with encoded signal holes filled with Pantone 576, and with no image trapping. The top right patch shows the same colors in the same signal arrangement, but this time with a 1-pixel trap. The hole locations with trapping are more visually pronounced relative to no trapping.

We can select a hole fill color so that the average of hole fill color and the overprint (trap) border has a suitable robustness per unit visibility. For example, the above hole color selection algorithms can be used, by substituting average L*a*b* and reflectance values over an area associated with a hole fill color and trap (hole fill color overprinted background color) instead of using just the hole fill color parameters. Consider the following.

The Human Visual System (HVS) and typical red LED point of sale scanners detect average color over about a 1/100″ square area. The color in a 1/100″ area is approximately the average over 3*3 pixels at 300 dots per inch (dpi). For example, see the 3×3 pixels windowed by the dashed square in FIG. 17C, bottom patch. This 3×3 area includes 5 pixels of overprint (OP1, OP2, OP3, OP4 and OP5) and 4 pixels of hole fill color (F1, F2, F3 and F4). This same 5/4 proportion exists as the window location shift right, down or diagonal. (Of course, if a wider trap was used, this proportion could change accordingly.) The attributing color can be determined by averaging the CIE XYZ values of all pixels in this region.

Xavg=(5*Xop+4*Xhf)/9, where

-   -   Xop is the CIE X value of the overprint color, and     -   Xhf is the CIE X value of the hole fill color.

Similar equations are used for Yavg and Zavg. Once determined, Xavg, Yavg, and Zavg can be converted to Lab values, e.g., using the following:

$L^{*} = {{116\mspace{14mu} {f\left( \frac{Y}{Y_{n}} \right)}} - 16}$ $a^{*} = {500\left( {{f\left( \frac{X}{X_{n}} \right)} - {f\left( \frac{Y}{Y_{n}} \right)}} \right)}$ $b^{*} = {200\left( {{f\left( \frac{Y}{Y_{n}} \right)} - {f\left( \frac{Z}{Z_{n}} \right)}} \right)\mspace{14mu} {where}}$ ${f(t)} = \left\{ {{\begin{matrix} \sqrt[3]{t} & {{{if}\mspace{14mu} t} > \delta^{3}} \\ {\frac{t}{3\delta^{2}} + \frac{4}{29}} & {otherwise} \end{matrix}\delta} = \frac{6}{29}} \right.$

Here, X_(n), Y_(n) and Z_(n) are the CIE XYZ tristimulus values of the reference white point (the subscript n suggests “normalized”). Under Illuminant D65 with normalization Y=100, the values are

-   -   X_(n)=95.047,     -   Y_(n)=100.000.     -   Z_(n)=108.883

The Lab values, once determined, can be used in the above algorithms to determine a best file color candidate given a particular background color. For example, a DB Score as discussed in our U.S. patent application Ser. Nos. 15/261,005 and 15/418,364 can be determined for a given background using trapping.

We determined that Pantone 576 is not the best DB Score when using image trapping. Instead a similar color, Pantone 577, had a higher DB score. FIG. 18B shows hole fill color Pantone 577 (1-pixel trap) relative to Pantone 576 (no trap) for Pantone Green. The visibility of the Pantone 577 (1-pixel trap) to Pantone Green has a higher DB Score compared to Panton 576 (1-pixel trap) to Pantone Green. See, e.g., FIG. 18C. Thus, using a lighter fill color (e.g., Pantone 577) with a 1-pixel trap gives a very similar visual appearance and robustness compared to a darker hole fill color (e.g., Pantone 576) with no trap.

IV. Operating Environments

The components and operations of the various described embodiments can be implemented in modules. Notwithstanding any specific discussion of the embodiments set forth herein, the term “module” may refer to software, firmware and/or circuitry configured to perform any of the methods, processes, functions or operations described herein. Software may be embodied as a software package, code, instructions, instruction sets or data recorded on non-transitory computer readable storage mediums. Software instructions for implementing the detailed functionality can be authored by artisans without undue experimentation from the descriptions provided herein, e.g., written in C, C++, MatLab, Visual Basic, Java, Python, Tcl, Perl, Scheme, Ruby, and assembled in executable binary files, etc., in conjunction with associated data. Firmware may be embodied as code, instructions or instruction sets or data that are hard-coded (e.g., nonvolatile) in memory devices. As used herein, the term “circuitry” may include, for example, singly or in any combination, hardwired circuitry, programmable circuitry such as one or more computer processors comprising one or more individual instruction processing cores, parallel processors, state machine circuitry, or firmware that stores instructions executed by programmable circuitry.

Applicant's work also includes taking the scientific principles and natural laws on which the present technology rests, and tying them down in particularly defined implementations. One such implementation is electronic circuitry that has been custom-designed and manufactured to perform some or all of the component acts, as an application specific integrated circuit (ASIC).

To realize such an implementation, some or all of the technology is first implemented using a general purpose computer, using software such as MatLab (from Mathworks, Inc.). For example, the RPV methods discussed above can be coded in Matlab, including a determination of RPW and RPC. A tool such as HDLCoder (also available from MathWorks) is next employed to convert the MatLab model to VHDL (an IEEE standard, and doubtless the most common hardware design language). The VHDL output is then applied to a hardware synthesis program, such as Design Compiler by Synopsis, HDL Designer by Mentor Graphics, or Encounter RTL Compiler by Cadence Design Systems. The hardware synthesis program provides output data specifying a particular array of electronic logic gates that will realize the technology in hardware form, as a special-purpose machine dedicated to such purpose. This output data is then provided to a semiconductor fabrication contractor, which uses it to produce the customized silicon part. (Suitable contractors include TSMC, Global Foundries, and ON Semiconductors.)

Another specific implementation of the present disclosure includes ink selection process, e.g., RPV/DB Score methods including a determination of RPW and RPC, operating on a specifically configured smartphone (e.g., iPhone 6 or Android device) or other mobile device, such phone or device. The smartphone or mobile device may be configured and controlled by software (e.g., an App or operating system) resident on the smartphone device. The resident software may include, e.g., a barcode decoder, digital watermark detector and detectability measure generator module.

For the sake of further illustration, FIG. 19 is a diagram of an electronic device (e.g., a smartphone, mobile device, tablet, laptop, or other electronic device) in which the components of the above encoder, decoder, and/or various ink or color selection embodiments may be implemented. It is not intended to be limiting, as the embodiments may be implemented in other device architectures or electronic circuitry.

Referring to FIG. 19, a system for an electronic device includes bus 100, to which many devices, modules, etc., (each of which may be generically referred as a “component”) are communicatively coupled. The bus 100 may combine the functionality of a direct memory access (DMA) bus and a programmed input/output (PIO) bus. In other words, the bus 100 may facilitate both DMA transfers and direct CPU read and write instructions. In one embodiment, the bus 100 is one of the Advanced Microcontroller Bus Architecture (AMBA) compliant data buses. Although FIG. 19 illustrates an embodiment in which all components are communicatively coupled to the bus 100, it will be appreciated that one or more sub-sets of the components may be communicatively coupled to a separate bus in any suitable or beneficial manner, and that any component may be communicatively coupled to two or more buses in any suitable or beneficial manner. Although not illustrated, the electronic device can optionally include one or more bus controllers (e.g., a DMA controller, an I2C bus controller, or the like or any combination thereof), through which data can be routed between certain of the components.

The electronic device also includes a CPU 102. The CPU 102 may be any microprocessor, multi-core microprocessor, parallel processors, mobile application processor, etc., known in the art (e.g., a Reduced Instruction Set Computer (RISC) from ARM Limited, the Krait CPU product-family, any X86-based microprocessor available from the Intel Corporation including those in the Pentium, Xeon, Itanium, Celeron, Atom, Core i-series product families, etc.). Another CPU example is an Apple A8 or A7. The A8 is built on a 64-bit architecture, includes a motion co-processor and is manufactured on a 20 nm process. The CPU 102 runs an operating system of the electronic device, runs application programs (e.g., mobile apps such as those available through application distribution platforms such as the Apple App Store, Google Play, etc., or custom designed to include watermark detection and object authentication) and, optionally, manages the various functions of the electronic device. The CPU 102 may include or be coupled to a read-only memory (ROM) (not shown), which may hold an operating system (e.g., a “high-level” operating system, a “real-time” operating system, a mobile operating system, or the like or any combination thereof) or other device firmware that runs on the electronic device. Watermark detection capabilities can be integrated into the operating system itself.

The electronic device may also include a volatile memory 104 electrically coupled to bus 100. The volatile memory 104 may include, for example, any type of random access memory (RAM). Although not shown, the electronic device may further include a memory controller that controls the flow of data to and from the volatile memory 104.

The electronic device may also include a storage memory 106 connected to the bus. The storage memory 106 typically includes one or more non-volatile semiconductor memory devices such as ROM, EPROM and EEPROM, NOR or NAND flash memory, or the like or any combination thereof, and may also include any kind of electronic storage device, such as, for example, magnetic or optical disks. In embodiments of the present invention, the storage memory 106 is used to store one or more items of software. Software can include system software, application software, middleware (e.g., Data Distribution Service (DDS) for Real Time Systems, MER, etc.), one or more computer files (e.g., one or more data files, configuration files, library files, archive files, etc.), one or more software components, or the like or any stack or other combination thereof. Examples of system software include operating systems (e.g., including one or more high-level operating systems, real-time operating systems, mobile operating systems, or the like or any combination thereof), one or more kernels, one or more device drivers, firmware, one or more utility programs (e.g., that help to analyze, configure, optimize, maintain, etc., one or more components of the electronic device), and the like.

Application software typically includes any application program that helps users solve problems, perform tasks, render media content, retrieve (or access, present, traverse, query, create, organize, etc.) information or information resources on a network (e.g., the World Wide Web), a web server, a file system, a database, etc. Examples of software components include device drivers, software CODECs, message queues or mailboxes, databases, etc. A software component can also include any other data or parameter to be provided to application software, a web application, or the like or any combination thereof. Examples of data files include image files, text files, audio files, video files, haptic signature files, and the like.

Also connected to the bus 100 is a user interface module 108. The user interface module 108 is configured to facilitate user control of the electronic device. Thus the user interface module 108 may be communicatively coupled to one or more user input devices 110. A user input device 110 can, for example, include a button, knob, touch screen, trackball, mouse, microphone (e.g., an electret microphone, a MEMS microphone, or the like or any combination thereof), an IR or ultrasound-emitting stylus, an ultrasound emitter (e.g., to detect user gestures, etc.), one or more structured light emitters (e.g., to project structured IR light to detect user gestures, etc.), one or more ultrasonic transducers, or the like or any combination thereof.

The user interface module 108 may also be configured to indicate, to the user, the effect of the user's control of the electronic device, or any other information related to an operation being performed by the electronic device or function otherwise supported by the electronic device. Thus the user interface module 108 may also be communicatively coupled to one or more user output devices 112. A user output device 112 can, for example, include a display (e.g., a liquid crystal display (LCD), a light emitting diode (LED) display, an active-matrix organic light-emitting diode (AMOLED) display, an e-ink display, etc.), a light, an illumination source such as a flash or torch, a buzzer, a haptic actuator, a loud speaker, or the like or any combination thereof. In the case of an iPhone 6, the flash includes a True Tone flash including a dual-color or dual-temperature flash that has each color firing at varying intensities based on a scene to make sure colors and skin tone stay true.

Generally, the user input devices 110 and user output devices 112 are an integral part of the electronic device; however, in alternate embodiments, any user input device 110 (e.g., a microphone, etc.) or user output device 112 (e.g., a loud speaker, haptic actuator, light, display, or printer) may be a physically separate device that is communicatively coupled to the electronic device (e.g., via a communications module 114). A printer encompasses many different devices for applying our encoded signals to objects, such as 2D and 3D printers, etching, engraving, flexo-printing, offset printing, embossing, laser marking, etc. The printer may also include a digital press such as HP's indigo press. An encoded object may include, e.g., a consumer packaged product, a label, a sticker, a logo, a driver's license, a passport or other identification document, etc.

Although the user interface module 108 is illustrated as an individual component, it will be appreciated that the user interface module 108 (or portions thereof) may be functionally integrated into one or more other components of the electronic device (e.g., the CPU 102, the sensor interface module 130, etc.).

Also connected to the bus 100 is an image signal processor 116 and a graphics processing unit (GPU) 118. The image signal processor (ISP) 116 is configured to process imagery (including still-frame imagery, video imagery, or the like or any combination thereof) captured by one or more cameras 120, or by any other image sensors, thereby generating image data. General functions typically performed by the ISP 116 can include Bayer transformation, demosaicing, noise reduction, image sharpening, filtering, or the like or any combination thereof. The GPU 118 can be configured to process the image data generated by the ISP 116, thereby generating processed image data. General functions typically performed by the GPU 118 include compressing image data (e.g., into a JPEG format, an MPEG format, or the like or any combination thereof), creating lighting effects, rendering 3D graphics, texture mapping, calculating geometric transformations (e.g., rotation, translation, etc.) into different coordinate systems, etc. and send the compressed video data to other components of the electronic device (e.g., the volatile memory 104) via bus 100. The GPU 118 may also be configured to perform one or more video decompression or decoding processes. Image data generated by the ISP 116 or processed image data generated by the GPU 118 may be accessed by the user interface module 108, where it is converted into one or more suitable signals that may be sent to a user output device 112 such as a display, printer or speaker. GPU 118 may also be configured to serve one or more functions of a watermark detector. In some cases GPU 118 searches for a watermark orientation component, while payload resolution is performed by the CPU 102.

Also coupled the bus 100 is an audio I/O module 122, which is configured to encode, decode and route data to and from one or more microphone(s) 124 (any of which may be considered a user input device 110) and loud speaker(s) 126 (any of which may be considered a user output device 110). For example, sound can be present within an ambient, aural environment (e.g., as one or more propagating sound waves) surrounding the electronic device. A sample of such ambient sound can be obtained by sensing the propagating sound wave(s) using one or more microphones 124, and the microphone(s) 124 then convert the sensed sound into one or more corresponding analog audio signals (typically, electrical signals), thereby capturing the sensed sound. The signal(s) generated by the microphone(s) 124 can then be processed by the audio I/O module 122 (e.g., to convert the analog audio signals into digital audio signals) and thereafter output the resultant digital audio signals (e.g., to an audio digital signal processor (DSP) such as audio DSP 128, to another module such as a song recognition module, a speech recognition module, a voice recognition module, etc., to the volatile memory 104, the storage memory 106, or the like or any combination thereof). The audio I/O module 122 can also receive digital audio signals from the audio DSP 128, convert each received digital audio signal into one or more corresponding analog audio signals and send the analog audio signals to one or more loudspeakers 126. In one embodiment, the audio I/O module 122 includes two communication channels (e.g., so that the audio I/O module 122 can transmit generated audio data and receive audio data simultaneously).

The audio DSP 128 performs various processing of digital audio signals generated by the audio I/O module 122, such as compression, decompression, equalization, mixing of audio from different sources, etc., and thereafter output the processed digital audio signals (e.g., to the audio I/O module 122, to another module such as a song recognition module, a speech recognition module, a voice recognition module, etc., to the volatile memory 104, the storage memory 106, or the like or any combination thereof). Generally, the audio DSP 128 may include one or more microprocessors, digital signal processors or other microcontrollers, programmable logic devices, or the like or any combination thereof. The audio DSP 128 may also optionally include cache or other local memory device (e.g., volatile memory, non-volatile memory or a combination thereof), DMA channels, one or more input buffers, one or more output buffers, and any other component facilitating the functions it supports (e.g., as described below). In one embodiment, the audio DSP 128 includes a core processor (e.g., an ARM® AudioDE™ processor, a Hexagon processor (e.g., QDSP6V5A)), as well as a data memory, program memory, DMA channels, one or more input buffers, one or more output buffers, etc. Although the audio I/O module 122 and the audio DSP 128 are illustrated as separate components, it will be appreciated that the audio I/O module 122 and the audio DSP 128 can be functionally integrated together. Further, it will be appreciated that the audio DSP 128 and other components such as the user interface module 108 may be (at least partially) functionally integrated together.

The aforementioned communications module 114 includes circuitry, antennas, sensors, and any other suitable or desired technology that facilitates transmitting or receiving data (e.g., within a network) through one or more wired links (e.g., via Ethernet, USB, FireWire, etc.), or one or more wireless links (e.g., configured according to any standard or otherwise desired or suitable wireless protocols or techniques such as Bluetooth, Bluetooth Low Energy, WiFi, WiMAX, GSM, CDMA, EDGE, cellular 3G or LTE, Li-Fi (e.g., for IR- or visible-light communication), sonic or ultrasonic communication, etc.), or the like or any combination thereof. In one embodiment, the communications module 114 may include one or more microprocessors, digital signal processors or other microcontrollers, programmable logic devices, or the like or any combination thereof. Optionally, the communications module 114 includes cache or other local memory device (e.g., volatile memory, non-volatile memory or a combination thereof), DMA channels, one or more input buffers, one or more output buffers, or the like or any combination thereof. In one embodiment, the communications module 114 includes a baseband processor (e.g., that performs signal processing and implements real-time radio transmission operations for the electronic device).

Also connected to the bus 100 is a sensor interface module 130 communicatively coupled to one or more sensor(s) 132. Sensor 132 can, for example, include an accelerometer (e.g., for sensing acceleration, orientation, vibration, etc.), a magnetometer (e.g., for sensing the direction of a magnetic field), a gyroscope (e.g., for tracking rotation, orientation, or twist), a barometer (e.g., for sensing air pressure, from which relative elevation can be determined), a wind meter, a moisture sensor, an ambient light sensor, an IR or UV sensor or other photodetector, a pressure sensor, a temperature sensor, an acoustic vector sensor (e.g., for sensing particle velocity), a galvanic skin response (GSR) sensor, an ultrasonic sensor, a location sensor (e.g., a GPS receiver module, etc.), a gas or other chemical sensor, or the like or any combination thereof. Although separately illustrated in FIG. 19, any camera 120 or microphone 124 can also be considered a sensor 132. Generally, a sensor 132 generates one or more signals (typically, electrical signals) in the presence of some sort of stimulus (e.g., light, sound, moisture, gravitational field, magnetic field, electric field, etc.), in response to a change in applied stimulus, or the like or any combination thereof. In one embodiment, all sensors 132 coupled to the sensor interface module 130 are an integral part of the electronic device; however, in alternate embodiments, one or more of the sensors may be physically separate devices communicatively coupled to the electronic device (e.g., via the communications module 114). To the extent that any sensor 132 can function to sense user input, then such sensor 132 can also be considered a user input device 110. The sensor interface module 130 is configured to activate, deactivate or otherwise control an operation (e.g., sampling rate, sampling range, etc.) of one or more sensors 132 (e.g., in accordance with instructions stored internally, or externally in volatile memory 104 or storage memory 106, ROM, etc., in accordance with commands issued by one or more components such as the CPU 102, the user interface module 108, the audio DSP 128, the cue detection module 134, or the like or any combination thereof). In one embodiment, sensor interface module 130 can encode, decode, sample, filter or otherwise process signals generated by one or more of the sensors 132. In one example, the sensor interface module 130 can integrate signals generated by multiple sensors 132 and optionally process the integrated signal(s). Signals can be routed from the sensor interface module 130 to one or more of the aforementioned components of the electronic device (e.g., via the bus 100). In another embodiment, however, any signal generated by a sensor 132 can be routed (e.g., to the CPU 102), the before being processed.

Generally, the sensor interface module 130 may include one or more microprocessors, digital signal processors or other microcontrollers, programmable logic devices, or the like or any combination thereof. The sensor interface module 130 may also optionally include cache or other local memory device (e.g., volatile memory, non-volatile memory or a combination thereof), DMA channels, one or more input buffers, one or more output buffers, and any other component facilitating the functions it supports (e.g., as described above). In one embodiment, the sensor interface module 130 may be provided as the “Sensor Core” (Sensors Processor Subsystem (SPS)) from Qualcomm, the “frizz” from Megachips, or the like or any combination thereof. Although the sensor interface module 130 is illustrated as an individual component, it will be appreciated that the sensor interface module 130 (or portions thereof) may be functionally integrated into one or more other components (e.g., the CPU 102, the communications module 114, the audio I/O module 122, the audio DSP 128, the cue detection module 134, or the like or any combination thereof).

CONCLUDING REMARKS

Having described and illustrated the principles of the technology with reference to specific implementations, it will be recognized that the technology can be implemented in many other, different, forms. To provide a comprehensive disclosure without unduly lengthening the specification, applicant hereby incorporates by reference each of the above referenced patent documents in its entirety. Such patent documents are incorporated in their entireties, including all drawings and appendices, even if cited above in connection with specific of their teachings. These documents disclose technologies and teachings that can be incorporated into the arrangements detailed, and into which the technologies and teachings detailed herein can be incorporated.

The particular combinations of elements and features in the above-detailed embodiments are exemplary only; the interchanging and substitution of these teachings with other teachings in this and the incorporated-by-reference patents are also contemplated.

Some of the Figures show exaggerated encoding or zoomed-in imagery so that the encoding will be evident to a human observer. Of course, we expect higher quality results in practice.

Many combinations will be evident from the above disclosure. 

What is claimed is:
 1. An image processing apparatus comprising: memory from storing first color values representing luminance*, color channel ‘a*’ and color channel ‘b*’ for a first color and an overprint of the first color with a background color; memory for storing second color values representing luminance*, color channel ‘a*’ and color channel ‘b*’ for the background color; means for determining an encoded signal error that is associated with the first color values, the second color values, and a reflectance difference associated with a first machine-vision wavelength between: i) an average within an image area of the first color and the overprint, and ii) the background color; means for determining a color error that is associated with the first color values, the second color values, and the reflectance difference; and means for combining the encoded signal error and the color error to determine whether to use the first color as an encoded signal carrier.
 2. The image processing apparatus of claim 1 further comprising means for transforming digital imagery to carry an encoded signal represented by the first color.
 3. The image processing apparatus of claim 1 in which the encoded signal error (RPW) comprises: RWV=→6604(ΔL*){circumflex over ( )}2±(Δa*/8){circumflex over ( )}2+(Δb*/16){circumflex over ( )}2){circumflex over ( )}(1/2) in which Δ660 represents a reflectance difference at or around 660 nm for one of the first plurality of colors and the substrate or the background color, ΔL* represents a difference in luminance between the first color values and the second color values, Δa* represents a difference in ‘a’ channel color values between the first color values and the second color values, and Δb* represents a difference in ‘b’ channel color values between the first color values and the second color values.
 4. The image processing apparatus of claim 2 in which the color error (RCV) comprises: RCV=Δ660/((ΔL*){circumflex over ( )}2+(Δa*){circumflex over ( )}2+(Δb{circumflex over ( )}*){circumflex over ( )}2){circumflex over ( )}(1/2)
 5. The image processing apparatus of claim 4 in which ΔL*, Δa* and Δb* comprise CIELAB values.
 6. The image processing apparatus of claim 4 in which RCV and RWV are weighted to emphasize or deemphasize the encoded signal error or the color error.
 7. The image processing apparatus of claim 2 in which the encoded signal comprises a sparse mark.
 8. The image processing apparatus of claim 1 in which the encoded signal comprises a sparse mark.
 9. The image processing apparatus of claim 4 in which the encoded signal comprises a sparse mark.
 10. The apparatus of claim 1 in which the printed object comprises a product hag tag.
 11. The apparatus of claim 1 in which the printed object comprises a product label.
 12. An image processing method for encoding a machine-readable signal in a printed object comprising the following acts: obtaining a machine readable signal in terms of a 2-d spatial pattern; arranging holes in a background design color according to the 2-d spatial pattern; filling in the holes with a first color, the first color and the background design color having a spectral reflectance difference at or around 660 nm in the range of 8%-60%, wherein said filling uses a trap of 1-4 pixels.
 13. The method of claim 12 in which the spectral reflectance difference at or around 660 nm comprises 12% or higher.
 14. The method of claim 12 in which the trap comprises a spread trap, in which the first color overlaps the background design color.
 15. The method of claim 14 in which the trap comprises a 1 pixel trap.
 16. The method of claim 12, in with the first color and the background design color comprise a Delta-E (ΔE) at or below
 2. 